package com.blog.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class PageController {
	
/*	@RequestMapping("/{path}")
	public String index(@PathVariable("path") String path){
		return path;
	
	}*/
	
	
	@RequestMapping("/backedIndex")
	public String index(){
		return "backedIndex";
	}
	
	
	@RequestMapping("/info")
	public String info(){
		return "info";
	}
	
	
	@RequestMapping("/main")
	public String main(){
		return "main";
	}
	
	
	@RequestMapping("/menu")
	public String menu(){
		return "menu";
	}
	
	@RequestMapping("/top")
	public String top(){
		return "top";
	}
	


}
